CREATE EXTERNAL TABLE IF NOT EXISTS spmi_ods.spmn_operation_operation_network_relation(
id                                                 bigint                         COMMENT '主键ID',
fee_id                                             bigint                         COMMENT '操作费ID',
operation_network_id                               bigint                         COMMENT '操作网点ID',
operation_network_code                             String                         COMMENT '操作网点编码',
operation_network_name                             String                         COMMENT '操作网点名称'
)
COMMENT '操作费明细-操作网点关系表'
PARTITIONED BY (dt STRING COMMENT '更新/创建日期 (yyyy-MM-dd)')
STORED AS PARQUET 
LOCATION '/dw/hive/spmi_ods.db/external/spmn_operation_operation_network_relation'
TBLPROPERTIES (
  'parquet.column.index.access'='true'
)